package com.yan.consumer.controller;

import com.yan.consumer.feigin.FeignService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author yk
 * @date 2021/3/12 14:55
 * @description
 */
@RestController
public class ConsumerController {

    @Autowired
    private  FeignService feignService;
    @RequestMapping("feignTest")
    public String feignTest(){
        return feignService.hello();
    }
}
